2004-06-23 David Kastrup <dak@gnu.org>
authorDavid Kastrup <dak@gnu.org>
Wed, 23 Jun 2004 19:21:14 +0000 (19:21 +0000)
committerDavid Kastrup <dak@gnu.org>
Wed, 23 Jun 2004 19:21:14 +0000 (19:21 +0000)
commit34b080fd6a71326066c0f69c04f4802c65d18b3a
tree34651f6bc1f18f320cd9cc65f58463427dcf278d
parent5ab453ed2082acc80232262504f8e744399b35f1
2004-06-23  David Kastrup  <dak@gnu.org>

* search.c (Freplace_match): Adjust the match-data more
thoroughly when replacing strings in the buffer.
search.c (match-data): When INTEGERS is non-nil and the last match
was in a buffer, add the buffer as last element to the match data.
(Fset_match_data): If an additional element of the match-data is
a buffer, restore it to last_thing_searched.
(save_search_regs): Save last_thing_searched as part of the match
data.
(restore_match_data): Restore it again.
src/ChangeLog